/**
 * Created by Administrator on 2018/1/29.
 */
MY_CENTER = {};
MY_CENTER.__INIT__ = function () {
	MY_CENTER.user_info();
};
MY_CENTER.jump = function(){
	var context = MY_CENTER.data;
    mainView.router.load({
        url: "src/my_center/my_center.html",
        context:context
    });
}

MY_CENTER.user_info = function(){
	var url = url_('api/V1/user_info');
	var data = {};
	var success = function(d){
		if (d.code == 0) {
			MY_CENTER.data = d.data;
			MY_CENTER.jump();
		} else{
			my_tips_(d.msg);
		}
	}
	request_(url,data,success)
}
